<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title></title>
		<link rel="stylesheet" href="css/userAdd.css" />
		<link rel="stylesheet" href="css/layui/css/layui.css" />
		<!-- 引入样式 -->
		<!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
		<!-- 引入组件库 -->
		<!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> --> 
	</head>

	<body>
		<div id="app" >

			<!-- <form class="m" action=""> -->
			<div class="layui-form-item">
				<label class="layui-form-label">登录名</label>
				<div class="layui-input-block">
					<input v-model="equipid" type="text" name="equipid" required lay-verify="required" placeholder="请输入登录名" autocomplete="off" 
					class="layui-input">
				</div>
			</div>
				<div class="layui-form-item">
					<label class="layui-form-label">设备序列号</label>
					<div class="layui-input-block">
						<input v-model="equipid" type="text" name="equipid" required lay-verify="required" placeholder="请输入设备序列号" autocomplete="off" 
						class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">设备名称</label>
					<div class="layui-input-block">
						<input  v-model="appkey" type="text" name="appkey" required lay-verify="required" placeholder="请输入设备名称" autocomplete="off"
						 class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">添加时间</label>
					<div class="layui-inline">
					  <input type="text" class="layui-input" id="test1">
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="formDemo" @click="updateEquip()">确认修改</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
						<button class="layui-btn" lay-submit lay-filter="formDemo" @click="retu">返回</button>
					</div>
				</div>
			<!-- </form> -->

		</div>

	</body>
	<script src="js/basejs/vue.js"></script>
	<script src="js/basejs/axios-min.js" type="text/javascript" charset="utf-8"></script>
	<script src="css/layui/layui.all.js"></script>
	<script src="js/equipUpdate.js"></script>
	<script>
	layui.use('laydate', function(){
	  var laydate = layui.laydate;
	  
	  //执行一个laydate实例
	  laydate.render({
	    elem: '#test1' //指定元素
	  });
	});
	</script>
</html>
